Platform Explorer / Nuxeo Platform 2023.22

Operation Seam.CreateDocumentInUI (Create Document in UI)

Description

Creates a document in UI, as if user was hitting the 'Create' button on a the document creation form. It assumes that the contextual 'changeableDocument' document from the Seam context has been updated to hold properties defined for creation. It will navigate to the newly created document context, set its view as outcome, and return the newly created document.
Operation id Seam.CreateDocumentInUI
Category User Interface
Label Create Document in UI
Requires Seam
Since

Parameters

No parameters.

Signature

Inputs void
Outputs document

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.jsf.operations.CreateDocumentInUI
Contributing Component org.nuxeo.ecm.automation.jsf.contrib

JSON Definition

{
  "id" : "Seam.CreateDocumentInUI",
  "label" : "Create Document in UI",
  "category" : "User Interface",
  "requires" : "Seam",
  "description" : "Creates a document in UI, as if user was hitting the 'Create' button on a the document creation form. It assumes that the contextual 'changeableDocument' document from the Seam context has been updated to hold properties defined for creation. It will navigate to the newly created document context, set its view as outcome, and return the newly created document.",
  "url" : "Seam.CreateDocumentInUI",
  "signature" : [ "void", "document" ],
  "params" : [ ]
}